<?php
// 出库的添加库
include './base.php';
 $num = $_POST['num'];
 $name = $_POST['name'];
 $date = $_POST['date'];
 $state = $_POST['state'];

 $sql = "insert into chuku value (null,'$num','$name',' $date ','$state')";
 $res = mysql_query($sql);
 print_r("添加成功");
?>